<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8"/>
    <title th:text="${article?.name}">Title</title>
    <link rel="stylesheet" href="css/Mycss.css"/>
    <script src="js/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="ueditor/ueditor.all.min.js"> </script>
</head>
<body>
<canvas id="bg" ></canvas>
<div class="nav">
    <!--/*3D Logo 模块*/-->
    <div class="LogoP">
        <div class="logo move">
            <div class="logo1"><canvas></canvas></div>
            <div class="logo2"><canvas></canvas></div>
            <div class="logo3"><canvas></canvas></div>
            <div class="logo4"><canvas></canvas></div>
            <div class="logo5"><canvas></canvas></div>
            <div class="logo6"><canvas></canvas></div>
        </div>
    </div>

    <div th:substituteby="nav::nav" >

    </div>
</div>

<div th:if="${article}" class="content showArticle">
    <div  class="ArticlePanel scrollbar">
        <div th:if="${session.user} and ${article.user.id eq session.user.id}" class="edit">
            <a  th:id="'d'+${article.id}" class="deleteArticle linkCss" href="#">删除</a>
            <a th:id="'e'+${article.id}" class="eArticle linkCss" href="#">编辑</a>
        </div>
        <span th:text="'查看'+${article.click}"></span>
        <div class="ArticleContent">
            <div th:utext="${article.name}" class="title">Title</div>
            <a th:href="@{user{id}(id=${article.user.id})}" th:text="${article.user.userInfo.nickName}?${article.user.userInfo.nickName}:${article.user.name}" class="author">author</a>
            <p th:utext="${article.content}">文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容文章内容</p>
        </div>
        <div class="prise">
            <span class="priseButton close">赞()</span>
            <span class="forwardButton close">转发</span>
        </div>
    </div>
    <div class="comment">
        <div class="write">
            <span>写下你的评论</span><span class="textCount">(0/200)</span>
            <textarea class="ArticleCommentIpt" type="text" placeholder="写下你的看法"></textarea>
            <input th:id="${article.id}" class="guestSubmit" type="button" value="评论"/>
        </div>
    </div>
    <!--评论模型-->
    <div class="guestModel">
        <a class="guest" href="#" >aaa:</a>
        <div class="guestInfo">
            <img class="authorPhoto" src="photo/0.png" alt=""/>
        </div>
        <div class="commentText">
            <div class="commentTextContent">fdsafdsafsafs</div>
            <div>
                <span class="guestTime ">this is time</span>
                <a class="delGuest" >删除评论</a>
            </div>
        </div>
    </div>
</div>

<!--编辑模块-->
<div th:substituteby="nav::UEditor"  >

</div>

<!--登录模块-->
<div th:substituteby="nav::login" >

</div>


<div th:substituteby="nav::Friends">

</div>

<script src="js/MyBgNav.js"></script>
<script src="js/Myjs.js"></script>
<script src="js/MyArticle.js"></script>

</body>
</html>